import React, { useState, useEffect } from "react";
import ImgContent from './img-content';
import '../bar.less';

interface PrintProps {
  list: any[], // 打印列表
}

export default (props: PrintProps) => {
  const { list } = props;
  return <div className="bar-print-content">
    {
      list?.map((item: any, index: number) => {
        return <ImgContent detail={item} key={item.code} />
       })
    }
  </div>;
};
